package cn.kuick.utils;

import java.util.List;

public class StringUtils {

	public static String join(String sep, List<String> arrays) {
		StringBuilder sb = new StringBuilder();
		
		for(String val: arrays) {
			sb.append(val).append(sep);
		}
		
		if (arrays.size() > 0) {
			sb.setLength(sb.length() - sep.length());
		}
		
		return sb.toString();
	}
}
